import Tipsize from '../../../components/Tip'
import { connect } from 'dva'
const Tip = ({dispatch}) => {
  const tipData = {
    tipType: 'success',
    titleBig: '风险评测已更新成功',
    isSub:false,
    buttonData:{
      content: '返回',
      act: () => {
        dispatch({
          type: "modules/getModules",
          payload: {
            pathname: "",
            businessId: "1231241225-r",
            process: "riskEvaluate",
            title: "风险评测"
          }
        })
      }
    }
  }
  return (
    <Tipsize { ...tipData }></Tipsize>
  )
}

export default connect(state => state.riskEvaluate)(Tip)